﻿using System;
using YunZuan.Models.Attributes;
using YunZuan.Models.Entities;
namespace YunZuan.Models
{
    [Table(TableName = "yz_search_params_log", PrimaryKey = "ID")]
    public partial class SearchParamLog : BaseEntity
    {
        public SearchParamLog()
        { }
        #region Model
        private int _id;
        /// <summary>
        ///
        /// </summary>
        public int ID
        {
            get { return _id; }
            set { this.ChangeNotify<int>("ID", value, ref _id); }
        }
        private string _searchparams;
        /// <summary>
        ///搜索参数
        /// </summary>
        public string SearchParams
        {
            get { return _searchparams; }
            set { this.ChangeNotify<string>("SearchParams", value, ref _searchparams); }
        }
        private int _uid = 0;
        /// <summary>
        ///团队用户ID
        /// </summary>
        public int UID
        {
            get { return _uid; }
            set { this.ChangeNotify<int>("UID", value, ref _uid); }
        }
        private string _username;
        /// <summary>
        ///团队用户名
        /// </summary>
        public string UserName
        {
            get { return _username; }
            set { this.ChangeNotify<string>("UserName", value, ref _username); }
        }
        private int _cid = 0;
        /// <summary>
        ///客户ID
        /// </summary>
        public int CID
        {
            get { return _cid; }
            set { this.ChangeNotify<int>("CID", value, ref _cid); }
        }
        private string _customername;
        /// <summary>
        ///客户名
        /// </summary>
        public string CustomerName
        {
            get { return _customername; }
            set { this.ChangeNotify<string>("CustomerName", value, ref _customername); }
        }
        private string _productname;
        /// <summary>
        ///产品类型id
        /// </summary>
        public string ProductName
        {
            get { return _productname; }
            set { this.ChangeNotify<string>("ProductName", value, ref _productname); }
        }


        private DateTime _searchtime;
        /// <summary>
        ///搜索时间
        /// </summary>
        public DateTime SearchTime
        {
            get { return _searchtime; }
            set { this.ChangeNotify<DateTime>("SearchTime", value, ref _searchtime); }
        }
        #endregion
    }
}
